package com.lanxiao.cloud.modules.user.application.dto;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import java.util.List;

/**
 * @author ：qiaoliang
 * @date ：2021-09-13
 */
@ApiModel("部门用户查询条件模型")
public class UserDeptQuery {

  @ApiModelProperty("昵称")
  private final String name;
  @ApiModelProperty("手机号")
  private final String phone;
  @ApiModelProperty("部门ID集合")
  private final List<Long> deptIds;

  public UserDeptQuery(String name, String phone, List<Long> deptIds) {
    this.name = name;
    this.phone = phone;
    this.deptIds = deptIds;
  }

  public String getName() {
    return name;
  }

  public String getPhone() {
    return phone;
  }

  public List<Long> getDeptIds() {
    return deptIds;
  }
}
